<template>
    <div>
        <ExtForm ref="ExtForm" :formfields="formfields"></ExtForm>
    </div>
</template>
<script>

import pageSetting from '@/components/lt/codeGenerator/pageSetting'
import Vue from 'vue'
import ExtForm from '@/components/lt/codeGenerator/components/ExtForm'
import flowSetting from './flowSetting'
import defaultSettings from '@/config/defaultSettings'


export default {
    name:'startAttribute',
    components:{ExtForm},
    props:{
        attribute:{
           type:Object,
           default:()=>{}
        },
    },
    watch:{
        
    },
    data(){
        return{
            pageSetting,
            formfields:[
                {field:'id',label:'内码',component:pageSetting.常量.表单组件类型.单行文本,initialValue:this.attribute.id,disabled:true},
                {field:'type',label:'类型',component:pageSetting.常量.表单组件类型.单行文本,initialValue:this.attribute.type,disabled:true},
                {field:'label',label:'名称',component:pageSetting.常量.表单组件类型.单行文本,initialValue:this.attribute.label,disabled:true,rules: [{ required: false, message: '不能为空!' }]},
            ],
        }
    },
   
    created(){
        
    },
    methods:{
       
         
    }
}
</script>